STEP 7: We'll be tracking temperature over time, so we need a way to see how many seconds have passed.

  • In LOGIC, go to and drag out Integer Variable.
  • Change the variable to the left of the = sign from my_var to time.
  • Change the number to the right of = sign from 25 to 0.
  • Click Run to see the same scatter plot. Then click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

microbit = codesters.Microbit() microbit.show_string("hello") data = microbit.get_temp() microbit.show_number(data) data_list = [] time_list = [] my_display = codesters.ScatterPlot(time_list, data_list)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)